<template>
  <div class="minPageCon">
      <div class="des">
          <p v-if="userType=='personal'">전문가가 도와주는</br>당신의 2번째 커리어,</br><b>지금 시작해볼까요?</b></p>          
          <p v-else>기업에서 필요로하는</br>경력이 풍부한 인재,</br><b>지금 만나볼까요?</b></p>   
          <img src="@images/login_bg.png" alt="">
      </div>
      <div class="box">
        <h1>아이디 찾기결과</h1>
        <p class="forgotInfo"><b>가입 아이디</b>를<br/>확인해 주세요.</p>
        <p class="userInfo">
          아이디&nbsp;&nbsp;<label>{{email}}</label>
          <span>{{regDate}} 가입</span>
        </p>
        <div class="btns">
          <el-button plain @click="openPage('/forgotPwd')">비밀번호찾기</el-button>
          <el-button type="primary" @click="openPage('/login')">로그인하기</el-button>
        </div>
      </div>
  </div>
</template>

<script>
import { mapState, mapActions } from "vuex";

export default {
  name:'',
  components:{},
  props:[],
  data(){
    return {
      userType:'',
    }
  },
  computed:{
      ...mapState(['email','regDate'])
  },
  created(){
    this.userType = this.$route.query.userType || 'personal';
  },
  mounted(){},
  methods:{
    openPage(_path){
      this.$router.replace({ path: _path })
    },
  },
  watch:{}
}
</script>
<style lang="scss" scoped>
  @import "css/user.scss";
</style>